#include<stdio.h>

int main(){

   int num;
   scanf("%d",&num);
   num=num | (1<<3);
   printf("%d\n",num);
    return 0;
}